import { get, post } from '../../utils/request'


/**
 * 根据token获取用户信息
 */
export function findUserByToken (params) {
  return get('/user/info', params)
}

/**
 * 退出用户
 */
export function userLogOut () {
  return post('/user/logout')
}

/**
 * 提现
 */
export function userCashOut (params) {
  return post('/accountApply/submitAccountApply',params)
}